package com.ruoyi.produce.base.design.service;


import com.ruoyi.produce.base.design.domain.ProduceDesign;

import java.util.List;

/**
 * 产品设计
 * 业务层
 * @author Drj 2021/6/28
 */
public interface IProduceDesignService {

    /**
     * 查找产品设计
     * @param produceDesign
     * @return
     */
    public List<ProduceDesign> selectProduceDesignList(ProduceDesign produceDesign);

    /**
     * 根据id查找产品设计
     * @param designId 设计编号
     * @return
     */
    public ProduceDesign selectProduceDesignById(String designId);

    /**
     * 新增产品设计
     * @param produceDesign
     * @return
     */
    public int insertProduceDesign(ProduceDesign produceDesign);

    /**
     * 更新产品设计
     * @param produceDesign
     * @return
     */
    public int updateProduceDesign(ProduceDesign produceDesign);

    /**
     * 删除产品设计
     * 仅修改产品设计删除标志
     * @param produceDesign
     * @return
     */
    public int updateProduceDesignDeleteFlag(ProduceDesign produceDesign);
}
